board_f: Only reserve memory for U-Boot if we're going to relocate
authorAlexey Brodkin <[email protected]>
Fri, 25 May 2018 13:08:14 +0000 (16:08 +0300)
committerTom Rini <[email protected]>
Wed, 6 Jun 2018 00:19:08 +0000 (20:19 -0400)
commitff2b2ba845ee682b5eafe4abbb9adbf48730af4b
treefdb50ed162a72442b24487bb75e4031e90894849
parent0899bd269e8ca0a0c7e6afe9287366bc067c141c
board_f: Only reserve memory for U-Boot if we're going to relocate

In case of no relocation we'll just waste some space at the very end
of usable memory area. If target device has very limited amount of memory
(for example 256 kB) this loss will be pretty inconvenient.

Signed-off-by: Alexey Brodkin <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: York Sun <[email protected]>
Cc: Stefan Roese <[email protected]>
common/board_f.c